package com.cal.utms.dto.payment;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PledgeDto {

	private int id;
	private String description;
	private BigDecimal pledgeUnits;
	private Date recordDate;
	// private User user;

	private BigDecimal totalUnits;
	private BigDecimal totalAmount;
	private int fundid;
	private BigDecimal fundUnitVal;
	private int customer;
	private String invesCode;
	private int investment;

	private List<PledgeDto> pledgeDtos = new ArrayList<PledgeDto>();

	private boolean success;
	private String resulteMsg;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public BigDecimal getPledgeUnits() {
		return pledgeUnits;
	}

	public void setPledgeUnits(BigDecimal pledgeUnits) {
		this.pledgeUnits = pledgeUnits;
	}

	public Date getRecordDate() {
		return recordDate;
	}

	public void setRecordDate(Date recordDate) {
		this.recordDate = recordDate;
	}

	public int getFundid() {
		return fundid;
	}

	public void setFundid(int fundid) {
		this.fundid = fundid;
	}

	public int getCustomer() {
		return customer;
	}

	public void setCustomer(int customer) {
		this.customer = customer;
	}

	public BigDecimal getTotalUnits() {
		return totalUnits;
	}

	public void setTotalUnits(BigDecimal totalUnits) {
		this.totalUnits = totalUnits;
	}

	public List<PledgeDto> getPledgeDtos() {
		return pledgeDtos;
	}

	public void setPledgeDtos(List<PledgeDto> pledgeDtos) {
		this.pledgeDtos = pledgeDtos;
	}

	public BigDecimal getFundUnitVal() {
		return fundUnitVal;
	}

	public void setFundUnitVal(BigDecimal fundUnitVal) {
		this.fundUnitVal = fundUnitVal;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getResulteMsg() {
		return resulteMsg;
	}

	public void setResulteMsg(String resulteMsg) {
		this.resulteMsg = resulteMsg;
	}

	public String getInvesCode() {
		return invesCode;
	}

	public void setInvesCode(String invesCode) {
		this.invesCode = invesCode;
	}

	public int getInvestment() {
		return investment;
	}

	public void setInvestment(int investment) {
		this.investment = investment;
	}

	public BigDecimal getTotalAmount() {
		return totalAmount;
	}

	public void setTotalAmount(BigDecimal totalAmount) {
		this.totalAmount = totalAmount;
	}

}
